#set($title = "智能会议预定系统-登录")
<style type="text/css">
body{
    background-image:
        url(resource/${domain.random()}.jpg);
 background-repeat:no-repeat;
background-attachment:fixed;
background-position:center;
}
.error{
    color:red;
}
</style>
<div class="container-fluid">
	<div class="row-fluid">

		<div class="row-fluid">
			<div class="span12 center login-header">
				<h2>欢迎使用智能会议预订系统</h2>
			</div>
			<!--/span-->
		</div>
		<!--/row-->

		<div class="row-fluid login">
			<div class="well span5 center login-box" style="background-color: transparent;border:hidden">
				<div class="alert alert-info errormsg error">$!error</div>
				<form class="form-horizontal" id="form" name="form" action="/login" method="post">
					<fieldset>
						<div class="input-prepend" data-rel="tooltip"
							data-original-title="Username">
							<span class="add-on"><i class="icon-user"></i></span><input
								autofocus="" class="input-large span10" type="text" name="user"
								id="user" placeholder="请输入用户名">
						</div>
						<div class="clearfix"></div>

						<div class="input-prepend" data-rel="tooltip"
							data-original-title="Password">
							<span class="add-on"><i class="icon-lock"></i></span><input
								class="input-large span10" type="password" name="pwd" id="pwd"
								placeholder="请输入密码">
						</div>
						<div class="clearfix"></div>
						<div class="input-prepend" data-rel="tooltip"
							data-original-title="role">
							<span class="add-on"><i class="icon-certificate"></i></span><input
								autofocus="" class="input-large span10" type="text"
								name="checkCode" id="checkCode" placeholder="请输入验证码">
						</div>
						<div class="clearfix"></div>
						<div id="radioset">
							<input type="radio" id="radio1" name="isAdmin" checked="checked"
								value="false" /> <label for="radio1" title="普通员工权限">
								普通员工 </label> <input type="radio" id="radio2" name="isAdmin"
								value="true" /> <label for="radio2" title="管理员权限"> 管理员
							</label>
						</div>
						<div class="clearfix"></div>
						<div class="input-prepend" data-rel="tooltip"
							data-original-title="role">
							<img src="/captcha-image" id="kaptchaImage" width="112"
								height="42" class="absmiddle" alt="验证码" title="看不清？点击刷新验证码！" />
						</div>

						<div class="clearfix"></div>

						<div class="input-prepend" data-rel="tooltip"
							data-original-title="Password">
							<div class="input-prepend">
								<label class="remember" for="remember"><span><input
										type="checkbox" name="rememberme" value="true"
										title="默认一个月不用登陆"></span>记住我</label>
							</div>
						</div>
						<div class="clearfix"></div>

						<div class="center span5">
							<button type="submit" class="btn btn-primary">登陆</button>
						</div>
					</fieldset>
				</form>
			</div>
			<!--/span-->
		</div>
		<!--/row-->
	</div>
	<!--/fluid-row-->

</div>

#includeJs(["jquery.validate","login/login"])
